<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加公司</title>
    <%
        String basePath = request.getScheme()+"://"+request.getServerName()+":"
                +request.getServerPort()+request.getContextPath()+"/";
    %>
    <base href="<%=basePath%>">
    <script type="text/javascript" src="js/jquery-1.12.3.min.js"></script>

</head>
<body>
    <h2>添加公司信息</h2>
    <hr>
    <form action="company/add.action" method="post" enctype="multipart/form-data">
        <table>
            <tr>
                <td>公司名称</td>
                <td>
                    <input type="text" name="cname">
                </td>
            </tr>
            <tr>
                <td>公司地址</td>
                <td>
                    <input type="text"  name="location">
                </td>
            </tr>
            <tr>
                <td>公司照片</td>
                <td>
                    <input type="file"  name="photo">
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" value="发布">
                </td>
            </tr>
        </table>
    </form>

    ${error}
</body>
</html>
